#include<iostream>
using namespace std;
class Person
{
protected:
	string _name = "⼩李⼦"; // 姓名
	int _num = 111; // ⾝份证号

	void Print()
	{
		cout << _name << endl << _num << endl;
	}
};
class Student : public Person
{
public:
	void Print(int num)
	{
		cout << " 姓名:" << _name << endl;
		cout << " ⾝份证号:" << Person::_num << endl;
		cout << " 学号:" << _num << endl;
		Person::Print();
	}
protected:
	int _num = 999; // 学号
};
int main()
{
	Student s1;
	s1.Print(2);
	return 0;
};
